package com.jwsoft.manager.core.dao.mapper;

import com.jwsoft.manager.core.dao.model.EduhHousehold;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
  * 户籍信息历史表 Mapper 接口
  * </p>
*
* @author zhiyuan
* @since 2023-10-11
*/
@Mapper
public interface EduhHouseholdMapper extends BaseMapper<EduhHousehold> {

    int saveBatch(@Param("hHouseholds") List<EduhHousehold> hHouseholds);

    List<EduhHousehold> selectByTaskDetailId(@Param("taskDetailId") String taskDetailId, @Param("currentPage")int currentPage,@Param("pageSize") Integer pageSize);

    void deleteHistoryById(@Param("householdId") String householdId);
}
